<@compress single_line=isCompress>
<!DOCTYPE html>
<html>
<head>
<title>渠道列表</title> <#include "/pager/common/quote.html" />
</head>
<body>
	<div class="body-center">
		<div class="html-panel query-panel" id="query_con">
			<div class="panel-header">
				<div class="panel-title">查询条件</div>
			</div>
			<div class="panel-content" id="menuMgrPanel">
				<form onsubmit="return false;" id="queryForm" class="form_style">
					<span class="spacing"><label>渠道ID：</label><input type="text" name="id" style="width: 120px"/></span> 
					<span class="spacing"><label>渠道名称：</label><input type="text" name="channelName" style="width: 120px"/></span>
					<span class="spacing"><label>登陆状态：</label> 
						<select name="status" style="width: 100px">
							<option value="">==请选择==</option>
							<option value="1">可登陆</option>
							<option value="0">不可登陆</option>
						</select> 
					</span> 
					<span class="spacing"><input type="submit" id="queryButton" value="查询" /></span>
				</form>
			</div>
		</div>
		<table style="fitColumns:false;" id="grid" data-options="url:'channel/list.html',method:'post'" title="渠道列表">
			<thead>
				<th data-options="field:'channelName',width:100,resizable:true,align:'left'">渠道名称</th>
				<th data-options="field:'id',width:80,resizable:true,align:'left'">渠道ID</th>
				<th data-options="field:'contacts',width:80,resizable:true,align:'left'">联系人</th>
				<th data-options="field:'phone',width:80,resizable:true,align:'left'">联系电话</th>
				<th data-options="field:'brokerage',width:60,resizable:true,align:'left'">渠道佣金%</th>
				<th data-options="field:'status',width:60,resizable:true,align:'left',formatter:formatter.status">登陆状态</th>
				<th data-options="field:'isBatch',width:60,resizable:true,align:'left',formatter:formatter.batch">批量转账</th>
				<th data-options="field:'opt',width:180,resizable:true,align:'center',formatter:formatter.opt">操作</th>
			</thead>
		</table>
	</div>
	<!-- 编辑渠道 -->
	<div class="hide-panel">
		<div id="channelEditDialog" style="width: 600px; height: 400px;"
			data-options="resizable:false,modal:true,closed: true">
			<form id="channelEditForm" class="form_style" method="post" onsubmit="return false;">
				<input type="hidden" name="userId" id="userId" value=""/>
				<div class="panel-header">
					<div class="panel-title">基本信息</div>
				</div>
				<div class="panel-content" id="menuMgrPanel">
					<div class="form-field">
						<label for="bsId">渠道ID：</label> 
						<input class="easyui-validatebox" type="text" name="id" id="id" maxlength="30" readonly="readonly"/>
						<label for="shopName">渠道名称：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="channelName" id="channelName" maxlength="32" data-options="required:true" />
					</div>
					<div class="form-field">
						<label for="fullName">联系人：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="contacts" maxlength="25" data-options="required:true" />
						<label for="phone">联系电话：<font color="red">*</font></label> 
						<input class="easyui-validatebox" id="phone" type="text" name="phone" maxlength="13" data-options="required:true,validType:'telephone'"/>
					</div>
					<div class="form-field">
						<label for="email">邮箱：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="email" maxlength="50" data-options="required:true,validType:'email'" />
					</div>
				</div>
				<div class="panel-header">
					<div class="panel-title">银行信息</div>
				</div>
				<div class="panel-content" id="menuMgrPanel">
					<div class="form-field">
						<label for="brokerage">佣金%：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="brokerage" maxlength="50" data-options="required:true,validType:'money'" />
						<label for="bsb">BSB：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="bsb" maxlength="6" onkeyup="value=value.replace(/[^\d]/g,'')" data-options="required:true"/>
						
					</div>
					<div class="form-field">
						<label for="account">ACCOUNT：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="account" maxlength="9" onchange="value=value.replace(/[^A-Za-z0-9]/g,'')" data-options="required:true"/>
						<label for="account">NAME：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="accName" maxlength="32" data-options="required:true"/>
					</div>
					<div class="form-field">
						<label for="isBatch" style="width: 120px">渠道商户批量转账：</label> 
						<input type="radio" name="isBatch" value="1" />
						<span class="check-label">是</span> 
						<input type="radio" name="isBatch" value="0" checked="checked"/>
						<span class="check-label">否</span>					
					</div>
				</div>
				<div class="panel-header">
					<div class="panel-title">登陆信息</div>
				</div>
				<div class="panel-content" id="menuMgrPanel">
					<div class="form-field">
						<label for="username">登陆名：<font color="red">*</font></label> 
						<input class="easyui-validatebox" type="text" name="username" maxlength="50" id="username" data-options="required:true,validType:'username'"/>
						<label for="status">登陆状态：<font color="red">*</font></label> 
						<input type="radio" name="status" value="1" checked="checked" />
						<span class="check-label">启用</span> 
						<input type="radio" name="status" value="0" />
						<span class="check-label">禁用</span>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
</@compress>
